#ifndef MAIN_H_
#define MAIN_H_

#define __AVR_ATmega32__ 1

#include <avr/io.h>
#include <avr/iom32.h>

#include <avr/interrupt.h>
#include <avr/pgmspace.h>

#include <util/atomic.h>

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <util/delay.h>

#include <cdefs.h>

#include "uart.h"
#include "lcd.h"

/**
 * @title Main.h - Main Header File.
 * @author Brent C Reamer [ph0rkeh on AVRFreaks.net Forums]
 *
 * @desc A common header file for the main.c source file. Just to keep it clean I prefer my
 * 		 defines and such are kept in a separate space.
 */
	// MF_CPU = MCU
//#define MF_CPU 14745600UL
#define MF_CPU F_CPU

	// UART_BAUD_RATE = Select a BAUD to used with UART
#define UART_BAUD_RATE 115200

	// UART_ERROR_HNDLR = Put a space (Transmit anything to UART to push buffer)
#define UART_ERROR_HNDLR() uart_putc((unsigned char)' '); break

#endif /* MAIN_H_ */
